package com.yt.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.yt.common.dto.BaseDTO;

/**
 * 工单DTO
 *
 * @author xieyanfei
 * @Date 2025-09-04 21:53:07
 */
@Data
@TableName("work_order_info")
@ApiModel(value="工单对象", description="工单对象")
public class WorkOrderInfoDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "版本号(用于乐观锁)")
    private Integer revision;
    @ApiModelProperty(value = "工单标题")
    private String title;
    @ApiModelProperty(value = "工单描述")
    private String des;
    @ApiModelProperty(value = "客户姓名")
    private String name;
    @ApiModelProperty(value = "客户电话")
    private String phone;
    @ApiModelProperty(value = "客户地址")
    private String address;
    @ApiModelProperty(value = "支付状态")
    private Integer payStatus;
    @ApiModelProperty(value = "工单状态")
    private Integer status;
    @ApiModelProperty(value = "工单图片")
    private String pic;
    @ApiModelProperty(value = "产品ID")
    private Long productId;
    @ApiModelProperty(value = "派单人ID")
    private Long dispatcherId;
    @ApiModelProperty(value = "接单员工ID")
    private Long employeeId;
    @ApiModelProperty(value = "工单类型")
    private Integer type;
}